{% extends 'base.html' %}

{% block body %}
<style type="text/css">
    body{
    background: url('/static/good.jpg');
    font-family: 'Droid Sans', sans-serif;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}


</style>
<h2>{{ the_title }}</h2>

<table>
    <tr>
        {% for row_title in the_row_titles %}
            <th>{{row_title}}</th>
        {% endfor %}
    </tr>
    {% for log_row in the_data %}
       <!-- <tr>
            {% for item in log_row %}
                <td>{{item}}</td>
            {% endfor %}
        </tr>
        -->
     <tr onclick="window.open('/detail?id={{log_row.id}}')">
         <td>{{log_row.id}}</td>
         <td>{{log_row.title}}</td>
         <td>{{log_row.des}}</td>
     </tr>
    {% endfor %}

</table>


{% endblock %}
